from django.conf.urls import url

from organization import views

urlpatterns = [
    url(r'^orglist/$', views.Orglist.as_view(), name='org_list'),
    url(r'^orglist/(?P<org_id>\d+)/$', views.OrgPagelist.as_view(), name='org_page'),
    url(r'^teacherlist/$', views.Teacherlist.as_view(), name='teacher_list'),
    url(r'^orghome/(?P<org_id>\d+)/$', views.Orghome.as_view(), name='org_home'),
    url(r'^add_fav/$', views.Addfav.as_view(), name='add_fav'),
    url(r'^teachers/(?P<teacher_id>\d+)/$', views.Teacherdetail.as_view(), name='teachers'),
    url(r'^teacherdetail/(?P<teacher_id>\d+)/$', views.Teacherlistdetail.as_view(), name='teacher_detail')
]
